package descriptor;

import java.io.Serializable;
import java.util.Vector;

public class QueryListDescriptor implements Serializable{
private Vector<QueryDescriptor> queryList;
	
	public QueryListDescriptor(){
		queryList = new Vector<QueryDescriptor>();
		
	}
	
	public QueryListDescriptor(Vector<QueryDescriptor> list){
		queryList = new Vector<QueryDescriptor>(list);
	}
	
	public void addQuery(QueryDescriptor category){
		queryList.add(category);
	}

	public Vector<QueryDescriptor> getQueryList() {
		return queryList;
	}
	
	public int sizeQueriesList()
	{
		return queryList.size();
	}
}
